package com.bookcloud.java21.chapter6.抽象类接口区别69;

// 类同时继承抽象类和实现接口
public class ConcreteClass extends AbstractClassExample implements InterfaceExample {
  public ConcreteClass(int field) {
    super(field);
  }

  @Override
  public void abstractMethod() {
    System.out.println("抽象类具体方法");
  }

  @Override
  public void defaultMethod() {
    InterfaceExample.super.defaultMethod();
  }
}
